package edu.dublbo.app.generator.mapper;

import edu.dublbo.app.generator.entity.TBasicModel;

import java.util.List;
import java.util.Map;

/**
 * @author DubLBo
 * @since 2020-09-06 14:26
 * i believe i can i do
 */
public interface TBasicModelMapper {
    void add(TBasicModel entity);
    int update(TBasicModel entity);
    int updateByMap(Map<String, Object> con);

    TBasicModel get(String id);
    List<TBasicModel> listAll();
    List<TBasicModel> select(Map<String, Object> condition);
    Long selectCount(Map<String, Object> condition);
}
